//
//  ShopHeaderView.m
//  HuiPinzhijia
//
//  Created by MS on 16/9/1.
//  Copyright © 2016年 LLMPro. All rights reserved.
//

#import "ShopHeaderView.h"

@implementation ShopHeaderView

static ShopHeaderView *_headerView;
+ (ShopHeaderView *)sharedShopHeaderView
{
    if (!_headerView)
    {
        _headerView = [[ShopHeaderView alloc]init];
    }
    return _headerView;
}

- (void)createHeaderView
{
    UILabel *lab1 = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, self.frame.size.width/2 + 20, self.frame.size.height)];
    lab1.text = @"   共一件商品,总价(不包含运费):";
    lab1.font = [UIFont systemFontOfSize:15];
    [self addSubview:lab1];
    
    UILabel *lab2 = [[UILabel alloc]initWithFrame:CGRectMake(self.frame.size.width/2 + 30, 0, self.frame.size.width/2 - 10, self.frame.size.height)];
    lab2.text = @"¥600.00元";
    lab2.textColor = [UIColor orangeColor];
    lab2.font = [UIFont systemFontOfSize:15];
    [self addSubview:lab2];
    
}
@end












